<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'user-form',
	'enableAjaxValidation'=>false,
)); ?>

<p class="note">Những trường có dấu <span class="required">*</span> bắt buộc phải điền vào.</p>
	<?php echo $form->errorSummary($model); ?>
	<div class="row">
		<?php echo $form->labelEx($model,'full_name'); ?>
		<?php echo $form->textField($model,'full_name',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'full_name'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>	
	<div class="row">
	    <?php echo $form->label($model,'password_repeat'); ?>
	    <?php echo $form->passwordField($model,'password_repeat',array('size'=>50,'maxlength'=>50)); ?>
	    <?php echo $form->error($model,'password_repeat'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Lưu' : 'Lưu'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->